#parse("/user/admin/inc/top.htm")
<div class="clearfix"></div>
<div class="MainPannel">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td height="38" align="center"><table width="98%" height="34" border="0" cellpadding="0" cellspacing="0">
          <tr>
              <td width="40" align="right"><img src="/images/list.gif" width="32" height="32" /></td>
              <td class="titletxt">修改密码</td>
          </tr>
        </table></td>
    </tr>
</table>
<script>
function doSave()
{
if(doCheck())
{
//if(EditForm.cid.value!="")EditForm.parameter.value="update";
EditForm.submit();
}
}
function doCheck()
{

if(EditForm.password.value=="")
{
alert("用户密码不能为空！");
EditForm.password.focus();
return false;
}
if(EditForm.password.value!=EditForm.password1.value)
{
alert("两次输入的密码不正确！");
EditForm.password.focus();
return false;
}
return true;
}
function doRefresh(obj,file)
{
if(file!="")
{
eval(obj+".value=file");
alert(EditForm.photo.value);
photoShow.innerHTML="<img src="+file+" align=absmiddle>";
}
}
function doUpload()
{
upFrame.EditForm.parentObj.value="EditForm.photo";
upFrame.doUpload();
}
</script>
<form name="EditForm" method="post" action="/blogUser.do">
 <input type="hidden" name="parameter" value="changePassword">	     
 <input type="hidden" name="cid" value="$!cid">	
 <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr> 
      <td valign="top">
			<div style="margin:8px;">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="40%" align="right"><span class="cn_12px"><strong><font color="#666666">旧密码：</font></strong></span> 
                </td>
                <td class="cn_12px"><input name="oldPassword" type="password" id="oldPassword" size="25"> 
                  <font color="#FF0000">*</font></td>
              </tr>
			   			<tr> 
                <td width="40%" align="right"><span class="cn_12px"><strong><font color="#666666">新密码：</font></strong></span> 
                </td>
                <td class="cn_12px"><input name="password" type="password" id="password" size="25"> 
                  <font color="#FF0000">*</font></td>
              </tr>
			   			<tr> 
                <td width="40%" align="right"><span class="cn_12px"><strong><font color="#666666">确认新密码：</font></strong></span> 
                </td>
                <td class="cn_12px"><input name="password1" type="password" id="password1" size="25"> 
                  <font color="#FF0000">*</font></td>
              </tr>
              <tr> 
                <td colspan="2" align="center" height="50">
									<input type="button" name="Submit" value="保存"  onclick="doSave();"/>
									<input type="reset" name="Reset" value="重置"/>
								</td>
              </tr>
  </table>
	</div>
      </td>
    </tr></table>
</form>
    </td>
  </tr>
</table>
	<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
#parse("/user/admin/inc/bottom.htm")
</body>
</html>
#if($msg)
<script>
alert('$!msg');
</script>
#end